package com.wuercloud.service.impl;

import com.wuercloud.dao.AplicationDao;
import com.wuercloud.entity.AplicationEntity;
import com.wuercloud.service.AplicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("tAplicationService")
public class AplicationServiceImpl implements AplicationService {
	@Autowired
	private AplicationDao tAplicationDao;
	
	@Override
	public AplicationEntity queryObject(Integer apliId){
		return tAplicationDao.queryObject(apliId);
	}
	
	@Override
	public List<AplicationEntity> queryList(Map<String, Object> map){
		return tAplicationDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tAplicationDao.queryTotal(map);
	}
	
	@Override
	public void save(AplicationEntity tAplication){
		tAplicationDao.save(tAplication);
	}
	
	@Override
	public void update(AplicationEntity tAplication){
		tAplicationDao.update(tAplication);
	}
	
	@Override
	public void delete(Integer apliId){
		tAplicationDao.delete(apliId);
	}
	
	@Override
	public void deleteBatch(Integer[] apliIds){
		tAplicationDao.deleteBatch(apliIds);
	}
	
}
